# -*- coding: utf-8 -*-
<%inherit file="../autohandler"/>

<script language="javascript" src="/lib.js" type="text/javascript"></script>
<table id="tbContent" width="90%" border="0" align="center" cellpadding="0" cellspacing="1" class="BoxCenter">
  <tr class="headlineTextCenter">
      <td height="20" bgcolor="#C5CED9" width="5%">№</td>
      <td height="20" bgcolor="#C5CED9" width="93%">ФИО</td>
      <td height="20" bgcolor="#C5CED9" colspan="2" width="2%">Действия</td>
  </tr>
%for obj in c.users:
  <tr bgcolor="#F0F0F0">
    <td height="20" class="bodyText">${ obj.id }</td>
    <td height="20" class="bodyText">
        ${ h.link_to_remote(obj.fio, dict(update="fullview%s" % obj.id, url=h.url_for(action='fullview/%s' % obj.id)))}
    </td>
    <td height="20" class="bodyText">
        <input type="button" value="Выбрать" onClick="refresh_username('${ obj.fio }', '${ obj.id }');return false;" class="BoxCenter">
    </td>
  </tr>
  <tr id="trShowEdit${ obj.id }">
      <td colspan="8" id="td${ obj.id }">
          <div id="fullview${ obj.id }" />
  </td></tr>
%endfor
</table>
